/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hu.arguscab.graphic;

import java.awt.Color;

/**
 *
 * @author sharp
 */
public class NamedColor extends Color{
	private String name;

	public NamedColor(Color color, String name) {
		super(color.getRGB());
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return name;
	}


}
